<?php 
namespace Common\Model;

Class HotelPartnerPayModel extends \Common\Model\BaseModel
{
	protected $trueTableName = 'bk_hotel_partner_pay';
	protected $field = '*';
	/**
     * 根据$hotelId获取多套个性推荐信息
     * 
     * @return array              执行结果
     */
	public function getInfoByHotelId($hotelId) {
		$option = array(
			'hotelentity_id' => $hotelId,
			'isdelete' => 0,
		);		
		$result = $this->where($option)->find();
		return empty($result)?array():$result;
	}
	
}